package com.xinruke.hostels.system.manage.interfaces.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;


/**
 * @author yutaipu
 */
@ApiModel("交班模式新增请求DTO")
@Data
public class WorkModeAddDTO {

    /**
     * 模式
     */
    @ApiModelProperty(value = "模式", required = true)
    @NotBlank(message = "模式不能为空")
    private String moshi;

    /**
     * 备用金
     */
    @ApiModelProperty(value = "备用金")
    private BigDecimal beiyongjin;

    /**
     * 描述
     */
    @ApiModelProperty(value = "描述")
    private String miaoshu;
}
